package com.cleaningcloud.cld.domain;

import com.cleaningcloud.common.core.annotation.Excel;
import com.cleaningcloud.common.core.web.domain.BaseEntity;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 * 消耗记录对象 cld_material_consume
 *
 * @author cleaningcloud
 * @date 2024-10-28
 */
@EqualsAndHashCode(callSuper = true)
@Data

public class CldMaterialConsume extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 物资报损ID
     */
    private Long materialConsumeId;

    /**
     * 项目id
     */
    @Excel(name = "项目id")
    private Long projectId;

    /**
     * 报损单号
     */
    @Excel(name = "报损单号")
    private String consumeOdd;

    /**
     * 报损仓库ID
     */
    @Excel(name = "报损仓库ID")
    private Long consumeWareId;

    /**
     * 报损人ID
     */
    @Excel(name = "报损人ID")
    private Long consumeId;

    /**
     * 报损时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "报损时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date consumeTime;

    /**
     * 报损类型(1个人2项目)
     */
    @Excel(name = "报损类型(1个人2项目)")
    private Long consumeType;

    /**
     * 报损描述
     */
    @Excel(name = "报损描述")
    private String consumeDesc;

    /**
     * 报损图组
     */
    @Excel(name = "报损图组")
    private String consumeImgs;

    /**
     * 创建人ID
     */
    @Excel(name = "创建人ID")
    private Long createId;

    /**
     * 创建人名称
     */
    @Excel(name = "创建人名称")
    private String createName;

    /**
     * 备注是否关闭
     */
    @Excel(name = "备注是否关闭")
    private Long flag;


}
